package org.example.meetingsystem.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum UserStatus {

    PENDING("PENDING", "待审核"),
    ACTIVE("ACTIVE", "正常"),
    FROZEN("FROZEN", "冻结");

    @EnumValue
    private final String code;
    private final String desc;

    UserStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}